package com.fzc.rhinooffice.common.utils;

import java.sql.Date;
import java.text.SimpleDateFormat;

/**
 * Created by cong on 15/6/9.
 */
public class DateUtil {

    public static String getDataByY_M_D(){
        SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
        Date curDate = new Date(System.currentTimeMillis());//获取当前时间
        String str = formatter.format(curDate);
        return str;
    }
}
